﻿
using System.Collections.Generic;
using System.Xml;
using System.Linq;
using System.Xml.Linq;
using Fozzy.Object;

namespace Fozzy.Gedcom
{
    /// <summary>
    /// One family group. 
    /// </summary>
    [XAlias("DEAT")]
    public class Death                                       : Couple<Date,Place, IConcept>
    {
        #region States
            public bool             Exists                  { get { return this.Exist(Value)                        ; } }
        #endregion

        #region Properties
        #endregion

        #region Constructeur
            public Death(_Element node)                      : base(new Date(node), new Place(node))
            {}
        #endregion

                //person.IsLiving = (node.SelectSingleNode("DEAT") == null) ? true : false;
                //person.DeathDate = GetValueDate(node, "DEAT/DATE");
                //person.DeathPlace = GetValue(node, "DEAT/PLAC");

    }
}
